'Declaration
<NotNullAttribute()> Public Overloads Shared Function Combine (Of TFirstValue,TSecondValue,TResultValue)( _ ByVal first As ValueResult(Of TFirstValue), _ ByVal second As ValueResult(Of TSecondValue), _ ByVal combineValuesFunction As Func(Of TFirstValue,TSecondValue,TResultValue) _ ) As ValueResult(Of TResultValue)
'Usage
Dim first As ValueResult(Of TFirstValue) Dim second As ValueResult(Of TSecondValue) Dim combineValuesFunction As Func(Of TFirstValue,TSecondValue,TResultValue) Dim value As ValueResult(Of TResultValue) value = ValueResult.Combine(Of TFirstValue, TSecondValue, TResultValue)(first, second, combineValuesFunction)
[NotNull()] public static ValueResult<TResultValue> Combine<TFirstValue,TSecondValue,TResultValue>( ValueResult<TFirstValue> first, ValueResult<TSecondValue> second, Func<TFirstValue,TSecondValue,TResultValue> combineValuesFunction )
[NotNull()] public: static ValueResult<TResultValue^>^ Combinegeneric<typename TFirstValue> generic<typename TSecondValue> generic<typename TResultValue> ( ValueResult<TFirstValue^>^ first, ValueResult<TSecondValue^>^ second, Func<TFirstValue^,TSecondValue^,TResultValue^>^ combineValuesFunction )
Parameters
- first
The value of this parameter cannot be
null
(Nothing
in Visual Basic).- second
The value of this parameter cannot be
null
(Nothing
in Visual Basic).- combineValuesFunction
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Type Parameters
- TFirstValue
- The type of value of the first value result.
- TSecondValue
- The type of value of the second value result.
- TResultValue
- The type of value of the resulting value result.
Return Value
This method never returns null
(Nothing
in Visual Basic).